/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lenovo
 * Date: 2025-05-11
 * Time: 21:33
 */
public class text {
    public static void main(String[] args) {
        int a1=5,a2=6;
        double d1=1.1,d2=2.2,d3=3.3;
        System.out.println(add(a1,a2));
        System.out.println(add(d1,d2,d3));
    }
    public static int add(int a,int b){
        return a+b;
    }
    public static double add(double a,double b,double c){
        return a+b+c;
    }
}
